//
//  UIViewController+JJDefBlankView.h
//  MicroMall
//
//  Created by chenzm on 2020/5/4.
//  Copyright © 2020 XIN. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JJDefBlankView.h"
NS_ASSUME_NONNULL_BEGIN

@interface UIViewController (JJDefBlankView)

#pragma mark- 背景(空页面显示)
@property(strong,nonatomic)JJDefBlankView *defBlankView;

-(void)jj_blankViewShowIn:(UIView *)view;
-(void)jj_isHiddenBlankView:(BOOL)hidden;
/// 显示样式 根据数组个数显示 1、显示文本 2、按顺序显示文本、图片 3、按顺序显示文本、按钮标题、图片
-(void)jj_setBlankViewTitle:(NSArray<NSString *> *)title;


#pragma mark- 系统自带菊花loading
-(void)jj_startActivityInView:(UIView *)view;
-(void)jj_stopActivityInView:(UIView *)view;

@end

NS_ASSUME_NONNULL_END
